package com.achievo.know.domain;

import java.util.List;
import java.util.Set;

import com.dayatang.domain.BaseEntityRepository;

public interface CategoryRepository extends BaseEntityRepository<Category, Long> {

	List<Category> getRoots();

	void removeCategory(Category c);

	Set<Category> getUserCates(User loginUser);

}
